package com.hq.fxh.Modle;

import java.io.Serializable;
import java.util.List;

/**
 * /**
 *
 * @author 薛
 * @ClassName
 * @Description :
 * @Created 2017/9/27
 * @Email xlwenhao1858@sina.com
 */


public class FavotityListGetModle implements Serializable {
    /**
     * code : 0
     * msg : succ
     * data : [{"title":"神级摄影创意广告，《水做的运动员》","title_pic":"http://cs.vmoiver.com/Uploads/Magic/post/2017-06-13/593f986552213.jpg","nickname":"张小三","head_url":"http://imgs.ledianduo.com/app/face/20170627144707636341716274651605.png","favorites_type":3,"target_id":257},{"title":"淡淡","title_pic":"http://imgs.ledianduo.com/D:\\NewsWebSite\\images\\b\\article/2017/4/信息流2.png","nickname":"admin","head_url":"","favorites_type":1,"target_id":1076197},{"title":"更多图帖子","title_pic":"http://imgs.ledianduo.com/app/post/2017/8/28/20170828170900636395369403214127.png","nickname":"苏","head_url":"http://imgs.ledianduo.com/app/face/20170703194657636347080178633348.png","favorites_type":2,"target_id":17}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * title : 神级摄影创意广告，《水做的运动员》
         * title_pic : http://cs.vmoiver.com/Uploads/Magic/post/2017-06-13/593f986552213.jpg
         * nickname : 张小三
         * head_url : http://imgs.ledianduo.com/app/face/20170627144707636341716274651605.png
         * favorites_type : 3
         * target_id : 257
         */

        private String title;
        private String title_pic;
        private String nickname;
        private String head_url;
        private int favorites_type;
        private int target_id;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getTitle_pic() {
            return title_pic;
        }

        public void setTitle_pic(String title_pic) {
            this.title_pic = title_pic;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getHead_url() {
            return head_url;
        }

        public void setHead_url(String head_url) {
            this.head_url = head_url;
        }

        public int getFavorites_type() {
            return favorites_type;
        }

        public void setFavorites_type(int favorites_type) {
            this.favorites_type = favorites_type;
        }

        public int getTarget_id() {
            return target_id;
        }

        public void setTarget_id(int target_id) {
            this.target_id = target_id;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "title='" + title + '\'' +
                    ", title_pic='" + title_pic + '\'' +
                    ", nickname='" + nickname + '\'' +
                    ", head_url='" + head_url + '\'' +
                    ", favorites_type=" + favorites_type +
                    ", target_id=" + target_id +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "FavotityListGetModle{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data == null ? "null" : data.toString() +
                '}';
    }
}
